Replace…

Choosing the Replace command from the Utility menu allows you to replace a given search string with a replacement string within the current document, or globally over all documents contained within the editor. Alternately, the Replace in Selection command makes the replacement within the current text selection.

The shortcut for Replace is Command-R; for Replace in Selection, Command-Shift-R.

If you create a text selection before choosing the Replace command, the dialog box will use it as the default search string.

Options
All Occurrences
When checked, all occurrences of the search text will be replaced with the replacement text. If left unchecked, only the first occurrence in the document will be replaced.

Global Replace
When checked, a dialog box is displayed from where you may then select a document label or click the "All Documents" button. All occurrences of the search text will be replaced with the replacement text within all documents in the Editor, or within all documents labelled with the selected label.

If you want to perform a global replacement (all occurrences in all documents), be sure to check All Occurrences checkbox as well, or only the first instance of the search text found within each document will be replaced. Note that global changes of this type cannot be undone. See the Undo HTML command for more information.

MiniGREP
When checked, several GREP-like codes will be interpreted as ASCII codes according to the table below. When unchecked, the codes will be treated as normal text. To use miniGREP codes, type the codes as show in the table below directly into either the "Search for:" or "Replace With:" text areas and check the miniGREP checkbox before performing the replacement.

MiniGREP Table
  Code         Replacement           ASCII#
  \f        form feed          12
  \l        linefeed           10
  \n        return+linefeed    10+13
  \q        quote              34
  \r        return             10
  \s        space              32
  \t        tab                09
  \#10      any ASCII char     (n)  (not implemented)
  \U        convert to UPPERCASE    (not implemented)
  \L        convert to LOWERCASE    (not implemented)

Back to Utility menu, on to HyperText menu, or return to Tool Palette Menus.